Skip to content

Added the ability to use \n and/or \r in HelpText #168

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

rupe120
Copy link

@rupe120 rupe120 commented Jun 22, 2015

It would be helpful to be able to create more than one paragraph in the HelpText, for the instances where there is supplemental / conditional information to add.

I have a scenario where depending on the list of options supplied, a given option may have slightly different behavior and/or be required or not.

It tends to be helpful if the user can see clear separation between the default functionality of an option, and additional scenarios.

@rupe120 rupe120 changed the title Added the ability to use \n and/or \r in descriptions Added the ability to use \n and/or \r in HelpText Jun 22, 2015
@rupe120
Copy link
Author

rupe120 commented Jun 22, 2015

This needs more work, I'll try again later

@rupe120 rupe120 closed this Jun 22, 2015
@gsscoder
Copy link
Owner

Hi @rupe120, welcome here!
Help subsystem is essentially the same (excluded some internal refactoring) of stable version.

Hence this section should be helpful.
Just remember that IParserState is not used in 2.0 pre-release and all parsing errors are collected in ParserResult<T>.Errors defined as IEnumerable<Error>.

Anyway where do you want exactly add newlines? I think current that HelpText can fit, if not please back and will find a solution together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants